import React from 'react'
import { Breadcrumb } from 'antd'
import { Link } from 'react-router-dom'

const MyBreadcrumb = (props) => {
    return <Breadcrumb>
    <Breadcrumb.Item>
    <Link to="/">首页</Link>
    </Breadcrumb.Item>
    <Breadcrumb.Item> { props.text} </Breadcrumb.Item>
  </Breadcrumb>
}
export default MyBreadcrumb